package com.example.controller;

import com.example.dto.BaseReq;
import com.example.dto.BaseResp;
import com.example.service.StorageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class StorageController {
    @Autowired
    private StorageService storageService;
    
    @RequestMapping("storage")
    public BaseResp storage(@RequestBody BaseReq req) {
        BaseResp resp = new BaseResp();
        storageService.storage();
        return resp;
    }
}
